package com.ruoyi.zikao.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 自考考生报名对象 zikao_candidate_registration
 * 
 * @author ruoyi
 * @date 2025-07-10
 */
public class ZikaoCandidateRegistration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增唯一ID */
    private Long id;

    /** 准考证号 */
    @Excel(name = "准考证号")
    private String admissionTicketNumber;

    /** 英文名 */
    @Excel(name = "英文名")
    private String englishName;

    /** 户籍代码 */
    @Excel(name = "户籍代码")
    private Integer registeredResidenceCode;

    /** 考前学历代码（外键） */
    @Excel(name = "考前学历代码", readConverterExp = "外=键")
    private Long preEducationCode;

    /** 职业代码 */
    @Excel(name = "职业代码")
    private String occupationCode;

    /** 专业代码（外键） */
    @Excel(name = "专业代码", readConverterExp = "外=键")
    private Long majorCode;

    /** 身份证号（唯一，主键） */
    @Excel(name = "身份证号", readConverterExp = "唯=一，主键")
    private String idNumber;

    /** 办公电话 */
    @Excel(name = "办公电话")
    private String officePhone;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String postalCode;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 报名时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registrationTime;

    /** 报名市县代码（外键） */
    @Excel(name = "报名市县代码", readConverterExp = "外=键")
    private String registrationCityCode;

    /** 专业名称（与专业代码对应） */
    @Excel(name = "专业名称", readConverterExp = "与=专业代码对应")
    private String majorName;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 手机2 */
    @Excel(name = "手机2")
    private String mobilePhone2;

    /** 报名点代码（外键） */
    @Excel(name = "报名点代码", readConverterExp = "外=键")
    private String registrationPointCode;

    /** 工作单位 */
    @Excel(name = "工作单位")
    private String workUnit;

    /** 电子邮件 */
    @Excel(name = "电子邮件")
    private String email;

    /** 户口所在地 */
    @Excel(name = "户口所在地")
    private String householdAddress;

    /** 工作单位所在地 */
    @Excel(name = "工作单位所在地")
    private String workUnitAddress;

    /** 公安审查标记 */
    @Excel(name = "公安审查标记")
    private Long policeReviewFlag;

    /** 是否在校生 */
    @Excel(name = "是否在校生")
    private Long isCurrentlyStudent;

    /** 现实际居住地 */
    @Excel(name = "现实际居住地")
    private String currentResidence;

    /** 是否如期参加考试1是2否 */
    @Excel(name = "是否如期参加考试1是2否")
    private Long attendExamPunctually;

    /** 警院在校生学号 */
    @Excel(name = "警院在校生学号")
    private String policeSchoolStudentId;

    /** 在职在编民警警号 */
    @Excel(name = "在职在编民警警号")
    private String policeOfficerNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAdmissionTicketNumber(String admissionTicketNumber) 
    {
        this.admissionTicketNumber = admissionTicketNumber;
    }

    public String getAdmissionTicketNumber() 
    {
        return admissionTicketNumber;
    }
    public void setEnglishName(String englishName) 
    {
        this.englishName = englishName;
    }

    public String getEnglishName() 
    {
        return englishName;
    }
    public void setRegisteredResidenceCode(Integer registeredResidenceCode)
    {
        this.registeredResidenceCode = registeredResidenceCode;
    }

    public Integer getRegisteredResidenceCode()
    {
        return registeredResidenceCode;
    }
    public void setPreEducationCode(Long preEducationCode) 
    {
        this.preEducationCode = preEducationCode;
    }

    public Long getPreEducationCode() 
    {
        return preEducationCode;
    }
    public void setOccupationCode(String occupationCode) 
    {
        this.occupationCode = occupationCode;
    }

    public String getOccupationCode() 
    {
        return occupationCode;
    }
    public void setMajorCode(Long majorCode) 
    {
        this.majorCode = majorCode;
    }

    public Long getMajorCode() 
    {
        return majorCode;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setOfficePhone(String officePhone) 
    {
        this.officePhone = officePhone;
    }

    public String getOfficePhone() 
    {
        return officePhone;
    }
    public void setPostalCode(String postalCode) 
    {
        this.postalCode = postalCode;
    }

    public String getPostalCode() 
    {
        return postalCode;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setRegistrationTime(Date registrationTime) 
    {
        this.registrationTime = registrationTime;
    }

    public Date getRegistrationTime() 
    {
        return registrationTime;
    }
    public void setRegistrationCityCode(String registrationCityCode) 
    {
        this.registrationCityCode = registrationCityCode;
    }

    public String getRegistrationCityCode() 
    {
        return registrationCityCode;
    }
    public void setMajorName(String majorName) 
    {
        this.majorName = majorName;
    }

    public String getMajorName() 
    {
        return majorName;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setMobilePhone2(String mobilePhone2) 
    {
        this.mobilePhone2 = mobilePhone2;
    }

    public String getMobilePhone2() 
    {
        return mobilePhone2;
    }
    public void setRegistrationPointCode(String registrationPointCode) 
    {
        this.registrationPointCode = registrationPointCode;
    }

    public String getRegistrationPointCode() 
    {
        return registrationPointCode;
    }
    public void setWorkUnit(String workUnit) 
    {
        this.workUnit = workUnit;
    }

    public String getWorkUnit() 
    {
        return workUnit;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setHouseholdAddress(String householdAddress) 
    {
        this.householdAddress = householdAddress;
    }

    public String getHouseholdAddress() 
    {
        return householdAddress;
    }
    public void setWorkUnitAddress(String workUnitAddress) 
    {
        this.workUnitAddress = workUnitAddress;
    }

    public String getWorkUnitAddress() 
    {
        return workUnitAddress;
    }
    public void setPoliceReviewFlag(Long policeReviewFlag) 
    {
        this.policeReviewFlag = policeReviewFlag;
    }

    public Long getPoliceReviewFlag() 
    {
        return policeReviewFlag;
    }
    public void setIsCurrentlyStudent(Long isCurrentlyStudent) 
    {
        this.isCurrentlyStudent = isCurrentlyStudent;
    }

    public Long getIsCurrentlyStudent() 
    {
        return isCurrentlyStudent;
    }
    public void setCurrentResidence(String currentResidence) 
    {
        this.currentResidence = currentResidence;
    }

    public String getCurrentResidence() 
    {
        return currentResidence;
    }
    public void setAttendExamPunctually(Long attendExamPunctually) 
    {
        this.attendExamPunctually = attendExamPunctually;
    }

    public Long getAttendExamPunctually() 
    {
        return attendExamPunctually;
    }
    public void setPoliceSchoolStudentId(String policeSchoolStudentId) 
    {
        this.policeSchoolStudentId = policeSchoolStudentId;
    }

    public String getPoliceSchoolStudentId() 
    {
        return policeSchoolStudentId;
    }
    public void setPoliceOfficerNumber(String policeOfficerNumber) 
    {
        this.policeOfficerNumber = policeOfficerNumber;
    }

    public String getPoliceOfficerNumber() 
    {
        return policeOfficerNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("admissionTicketNumber", getAdmissionTicketNumber())
            .append("englishName", getEnglishName())
            .append("registeredResidenceCode", getRegisteredResidenceCode())
            .append("preEducationCode", getPreEducationCode())
            .append("occupationCode", getOccupationCode())
            .append("majorCode", getMajorCode())
            .append("idNumber", getIdNumber())
            .append("officePhone", getOfficePhone())
            .append("postalCode", getPostalCode())
            .append("address", getAddress())
            .append("registrationTime", getRegistrationTime())
            .append("registrationCityCode", getRegistrationCityCode())
            .append("majorName", getMajorName())
            .append("password", getPassword())
            .append("mobilePhone2", getMobilePhone2())
            .append("registrationPointCode", getRegistrationPointCode())
            .append("workUnit", getWorkUnit())
            .append("email", getEmail())
            .append("householdAddress", getHouseholdAddress())
            .append("workUnitAddress", getWorkUnitAddress())
            .append("policeReviewFlag", getPoliceReviewFlag())
            .append("isCurrentlyStudent", getIsCurrentlyStudent())
            .append("currentResidence", getCurrentResidence())
            .append("attendExamPunctually", getAttendExamPunctually())
            .append("policeSchoolStudentId", getPoliceSchoolStudentId())
            .append("policeOfficerNumber", getPoliceOfficerNumber())
            .toString();
    }
}
